package cn.yuanqiao.archive.storeRoom.service;


import cn.yuanqiao.archive.storeRoom.domain.Storeroom;

import java.util.List;
import java.util.Map;

/**
 * 库房信息Service接口
 * 
 * @author xy
 * @date 2023-06-16
 */
public interface IStoreroomService 
{
    /**
     * 查询库房信息
     * 
     * @param storeId 库房信息主键
     * @return 库房信息
     */
    public Storeroom selectStoreroomByStoreId(Long storeId);

    /**
     * 查询库房信息列表
     * 
     * @param storeroom 库房信息
     * @return 库房信息集合
     */
    public List<Storeroom> selectStoreroomList(Storeroom storeroom);

    /**
     * 新增库房信息
     * 
     * @param storeroom 库房信息
     * @return 结果
     */
    public Map insertStoreroom(Storeroom storeroom);

    /**
     * 修改库房信息
     * 
     * @param storeroom 库房信息
     * @return 结果
     */
    public int updateStoreroom(Storeroom storeroom);

    /**
     * 批量删除库房信息
     * 
     * @param storeIds 需要删除的库房信息主键集合
     * @return 结果
     */
    public int deleteStoreroomByStoreIds(Long[] storeIds);

    /**
     * 删除库房信息信息
     * 
     * @param storeId 库房信息主键
     * @return 结果
     */
    public int deleteStoreroomByStoreId(Long storeId);

    int checkStore(Long storeId);
}
